package com.ubxtech.jdk21.req;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;

/**
 //        @Schema(title = value = "用户id")
 //        @NotBlank(message = "userId不能为空")
 //        @Schema(title = value = "用户名称")
 //        @NotBlank(message = "userName不能为空")
 * @author Victor.Xiao
 * @since 2024-02-28 17:44
 **/
public record RecordTest (

                @Schema(title ="用户id")
                @NotBlank(message = "userId不能为空")
        String userId,
                @Schema(title = "用户名称")
                @NotBlank(message = "userName不能为空")
        String userName) {
}
